From a13f698b3a1d5d3376cc60c3ea99b1857f1f8a19 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 24 Jun 2008 10:16:01 +0000 Subject: [PATCH] gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h 2008-06-24 Michael Natterer * gtk/gtkassistant.h * gtk/gtkcellrenderer.h * gtk/gtkfilechooserentry.h * gtk/gtkprivate.h * gtk/gtktooltip.h * gtk/gtktreeview.h * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h if there is any other widget included, they all have to include their respective parent classes (the is-a relation works for includes too). svn path=/trunk/; revision=20679 --- ChangeLog | 13 +++++++++++++ gtk/gtkassistant.h | 1 - gtk/gtkcellrenderer.h | 2 -- gtk/gtkfilechooserentry.h | 1 - gtk/gtkprivate.h | 5 +---- gtk/gtktooltip.h | 1 - gtk/gtktreeview.h | 2 -- gtk/gtkwindow.h | 2 -- 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12e5378863..bf4e03357d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2008-06-24 Michael Natterer + + * gtk/gtkassistant.h + * gtk/gtkcellrenderer.h + * gtk/gtkfilechooserentry.h + * gtk/gtkprivate.h + * gtk/gtktooltip.h + * gtk/gtktreeview.h + * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h + if there is any other widget included, they all have to include + their respective parent classes (the is-a relation works for + includes too). + 2008-06-24 Michael Natterer * gtk/gtktextutil.h: remove includes from this internal header. diff --git a/gtk/gtkassistant.h b/gtk/gtkassistant.h index e59d7e94b0..b39afef43b 100644 --- a/gtk/gtkassistant.h +++ b/gtk/gtkassistant.h @@ -30,7 +30,6 @@ #ifndef __GTK_ASSISTANT_H__ #define __GTK_ASSISTANT_H__ -#include #include G_BEGIN_DECLS diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 25e8571103..8b54292692 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -24,8 +24,6 @@ #ifndef __GTK_CELL_RENDERER_H__ #define __GTK_CELL_RENDERER_H__ -#include -#include #include G_BEGIN_DECLS diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index c68d0e9636..2818fd9da7 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -23,7 +23,6 @@ #include "gtkfilesystem.h" #include "gtkfilechooser.h" -#include G_BEGIN_DECLS diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h index 690cc8a34f..c423f7b1e1 100644 --- a/gtk/gtkprivate.h +++ b/gtk/gtkprivate.h @@ -21,17 +21,14 @@ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * file for a list of people on the GTK+ Team. See the ChangeLog * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ #ifndef __GTK_PRIVATE_H__ #define __GTK_PRIVATE_H__ - -#include #include - G_BEGIN_DECLS /* The private flags that are used in the private_flags member of GtkWidget. diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h index be2bd40b4d..8039da6fbc 100644 --- a/gtk/gtktooltip.h +++ b/gtk/gtktooltip.h @@ -26,7 +26,6 @@ #ifndef __GTK_TOOLTIP_H__ #define __GTK_TOOLTIP_H__ -#include #include G_BEGIN_DECLS diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h index f98b2343be..098ab5ce17 100644 --- a/gtk/gtktreeview.h +++ b/gtk/gtktreeview.h @@ -24,14 +24,12 @@ #ifndef __GTK_TREE_VIEW_H__ #define __GTK_TREE_VIEW_H__ -#include #include #include #include #include #include - G_BEGIN_DECLS diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index dcc4a26bac..bd8545e3d5 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -31,12 +31,10 @@ #ifndef __GTK_WINDOW_H__ #define __GTK_WINDOW_H__ - #include #include #include #include -#include G_BEGIN_DECLS -- 2.30.2